package a_exception.c_throws;

import java.text.ParseException;
import java.text.SimpleDateFormat;

/*
    父类
 */
public class Person {
    public void show() throws Exception {
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
        sdf.parse("2022-08-02");
    }
}
